'use strict';

const Controller = require('egg').Controller;



class HomeController extends Controller {
  async index() {
    this.ctx.body = `<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.2</center>
`;
  }

  async wechat(){
	const query = this.ctx.request.weixin;
	this.ctx.response.reply('hehe')
	// console.info(query)
	// this.ctx.body = '';
  }
}

module.exports = HomeController;
